package com.lzw.breadknife.sample.bean;

/**
 * author  : AWeiLoveAndroid
 * e-mail  : lzw460433675@163.com
 * github  : https://gitee.com/AWeiLoveAndroid/BreadKnife
 * project : BreadKnife
 */
public class MulObj {
    int starLevel;

    public MulObj(int starLevel) {
        this.starLevel = starLevel;
    }

    public Object getStar() {
        return starLevel > 3 ? String.format("星%d", starLevel) : ViewState.GONE;
    }
}
